/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.gerenciadorfinanceiro.ejb.session.interfaces;

import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author eduardo
 */
@Local
public interface OutcomeSourceSessionLocal {

    public List<org.gerenciadorfinanceiro.ejb.entity.OutcomeSource> getAllSources();
    public org.gerenciadorfinanceiro.ejb.entity.OutcomeSource getSourceByName(String name);
    public org.gerenciadorfinanceiro.ejb.entity.OutcomeSource getSourceById(int id);

    public void addOutcomeSource(org.gerenciadorfinanceiro.ejb.entity.OutcomeSource source) throws org.gerenciadorfinanceiro.ejb.session.BusinessViolation;
    public void updateOutcomeSource(org.gerenciadorfinanceiro.ejb.entity.OutcomeSource source) throws org.gerenciadorfinanceiro.ejb.session.BusinessViolation;
    public void deleteOutcomeSource(org.gerenciadorfinanceiro.ejb.entity.OutcomeSource source) throws org.gerenciadorfinanceiro.ejb.session.BusinessViolation;

    
}
